package com.qiwx.pigeon.data.db;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

/**
 * @description
 * @Author qiwx
 * @Date 2020-03-24 13:50
 * 鸽子
 **/
public class PigeonModel extends LitePalSupport {
    @Column(unique = true)
    private int id;
    private int c_id;//鸽笼id 相当于外键
    private String number;//鸽子编号
    private String name;//鸽子名称
    private int gender;//性别，1是雄性 0是雌性

    public void setId(int id) {
        this.id = id;
    }

    public int getc_id() {
        return c_id;
    }

    public void setc_id(int c_id) {
        this.c_id = c_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }
}
